a = int(input('请输入年份：'))
while a <= 0:
    a = int(input('请输入正整数：'))
if (a % 4 == 0 and a % 100 != 0) or a % 400 == 0:
    print('True')
else:
    print('False')